<?php
namespace Core;

require_once __Dir__ . '/../../simpletest/autorun.php';

class TestOfAddTask extends \UnitTestCase 
{
	/**
	* Check a correct add answer
	*/
    function testCorrectAddTask() 
	{
		$taskName = 'test add task';
		
		//get documents from root
		$services = new CoreService();
		$result = $services->addTask($taskName, USER_TEST_ID);
		
		$this->assertFalse($result->isFailed);
		$this->assertTrue(isset($result->response));
    }
	
	
	/**
	* Check an invalid add answer
	*/
    function testInvalidAddTask() 
	{
    }
}
?>